*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,body {
  font-family: "Arial", sans-serif;
  background-color: #f8f9fa;
  color: #333;
  overflow-x: hidden;
}
/* 
/* Navigation Bar */

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, #1e3a8a, #2563eb);
  padding: 20px 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.logo img {
  height: 65px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle div {
  width: 30px;
  height: 4px;
  background-color: white;
  margin: 5px 0;
  border-radius: 2px;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  position: relative;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 600;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: lime;
}

.nav-links li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: lime;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-links li a:hover::after {
  width: 100%;
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #1e40af;
  list-style: none;
  padding: 15px 0;
  margin: 10px 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
}

.dropdown li a {
  color: white;
  padding: 10px 20px;
  display: block;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.dropdown li a:hover {
  color: lime;
}

.nav-links li:hover .dropdown {
  display: block;
}

.admission-btn {
  background-color: limegreen;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.admission-btn:hover {
  background-color: black;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

@media screen and (max-width: 768px) {
  nav {
      justify-content: space-around;
      align-items: center;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 70px;
    left: 0;
    z-index: 100;
    padding-bottom: 10px;
    margin-top: 20px;
    background: linear-gradient(90deg, #1e3a8a, #2563eb);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    text-align: center;
    width: 100%;
    margin-bottom: 10px;
  }

  .dropdown {
    position: static;
    width: 100%;
    transform: none;
  }

  .dropdown li {
    text-align: center;
  }

  .admission-btn {
    margin: 10px auto;
    width: 50%;
    font-size: 12px;
    margin-right: 42px;
  }
}

/* Navbar Ends Here */


.about-us-header {
  text-align: center;
  padding: 22px 20px;
  background-color: #007bff;
  color: #fff;
  margin-top: 12vh;
}

.about-us-header h1 {
  font-size: 2.5rem;
  font-weight: bold;
}

.tile-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
  flex-wrap: wrap;
}

.tile {
  flex: 1 1 calc(33% - 20px);
  background-color: #ffffff;
  border: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  padding: 20px;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  min-width: 300px;
  max-width: 400px;
  text-align: center;
}

.tile:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.tile-icon {
  font-size: 3rem;
  color: #007bff;
  margin-bottom: 15px;
}

.tile-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.tile-text {
  font-size: 1rem;
  line-height: 1.6;
  text-align: justify;
}


@media (max-width: 768px) {
  .tile {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .about-us-header {
    margin-top: 12vh;
  }
}

.service-hover {
  position: relative;
  font-style: italic;
  font-size: 16px;
  padding: 10px;
  text-align: center;
}

.service-hover::after {
  content: "\2139"; /* Unicode for the Information icon */
  font-family: "Arial", sans-serif; /* Use any desired font-family */
  font-size: 20px;
  position: absolute;
  top: 50%;
  right: 10px; /* Adjust this value to place it in the right corner */
  transform: translateY(-50%);
  color: #007bff; /* You can change the color */
  pointer-events: none; /* Ensures the icon does not interfere with interactions */
}

.service-hover:hover {
  background-color: #f8f9fa; /* Add hover effect (light background) */
}
.services-header {
  text-align: center;
  padding: 50px 20px;
  background-color: #007bff;
  color: #fff;
}

.services-header h1 {
  font-size: 2.5rem;
  font-weight: bold;
}

.card-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
  flex-wrap: wrap;
}

.card {
  position: relative;
  width: calc(33% - 20px);
  min-width: 300px;
  max-width: 400px;
  perspective: 1000px;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 240px;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  cursor: pointer;
}

.card-inner:hover {
  transform: rotateY(180deg);
}


.card-img-text-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-img {
  width: 24vw;
  height: 180px;
  margin-bottom: 10px;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
 
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-front {
  background-color: #ffffff;
  color: #007bff;
}

.card-back {
  background-color: #007bff;
  color: #ffffff;
  transform: rotateY(180deg);
}

.click-indicator {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 0.8rem;
  background-color: #ffc107;
  color: #333;
  padding: 5px 10px;
  border-radius: 5px;
}

@media (max-width: 768px) {
  .card {
    width: 100%;
    max-width: 100%;
  }
  
  .card-img {
    width: 90%;
    height: 180px;
    margin-bottom: 10px;
  }
  .card-img img {
    object-fit: contain;
  }
}

.exp {
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  color: #007bff;
  padding: 20px;
  margin: 20px 0;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.slider-container {
  background: linear-gradient(
    120deg,
    #e0f7fa,
    #b2dfdb
  ); /* Aesthetic background color */
  padding: 50px 20px;
  border-radius: 12px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.highlight-text {
  font-size: 1.5rem;
  font-weight: bold;
  color: #004d40; /* Deep teal for text */
  text-align: center;
  margin: 0;
}

@media (max-width: 768px) {
  .highlight-text {
    font-size: 1.2rem;
  }
}

.values-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
  flex-wrap: wrap;
}

.value-tile {
  flex: 1 1 calc(33% - 20px);
  background-color: #ffffff;
  border: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  padding: 20px;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  text-align: center;
  min-width: 300px;
}

.value-tile:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.value-icon {
  font-size: 2.5rem;
  color: #007bff;
  margin-bottom: 15px;
}

.value-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.value-text {
  font-size: 1rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .value-tile {
    flex: 1 1 100%;
    max-width: 100%;
  }
}


.why-choose-us-section {
    background: linear-gradient(120deg, #f3e5f5, #e1bee7); /* Aesthetic gradient background */
    padding: 60px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  }

  .why-choose-us-header {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    color: #6a1b9a; /* Deep purple color */
    margin-bottom: 30px;
  }

  .list-item {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
  }

  .list-item:hover {
    transform: translateY(-5px); /* Hover effect for aesthetic feel */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  }

  .list-item-icon {
    background-color: #8e24aa; /* Icon background color */
    color: white;
    border-radius: 50%;
    padding: 12px;
    margin-right: 20px;
    font-size: 1.5rem;
  }

  .list-item-text {
    font-size: 1.1rem;
    color: #4a148c; /* Text color */
    font-weight: bold;
  }

  @media (max-width: 768px) {
    .why-choose-us-header {
      font-size: 1.5rem;
    }
    .list-item {
      flex-direction: column;
      text-align: center;
    }
    .list-item-icon {
      margin-bottom: 10px;
    }

  }

  .container{
    width: 100%;
  }
  .success-stories-section {
    background: linear-gradient(120deg, #e3f2fd, #bbdefb); /* Aesthetic background */
    padding: 60px 20px;
    display: flex;
    text-align: center;
    flex-wrap: wrap;
    align-items: center;
    border-radius: 12px;
    width: 100%;
  }

  .success-stories-header {
    text-align: center;
    font-size: 2.5rem;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #0d47a1; /* Deep blue */
    margin-bottom: 40px;
    margin-left: 39%;
  }

  .success-story {
    height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
  
    margin: 20px 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .success-story:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  }

  .success-story-icon {
    font-size: 2.5rem;
    color: #1976d2; /* Blue color */
    margin-bottom: 15px;
  }

  .success-story-title {
    font-size: 1.5rem;
    color: #0d47a1;
    font-weight: bold;
    margin-bottom: 10px;
  }

  .success-story-description {
    font-size: 1rem;
    color: #424242;
  }

  @media (max-width: 768px) {
    .success-stories-header {
      font-size: 2rem;
      margin-left: 1.8rem;
    }
    .success-story {
      text-align: center;
      height: 75vh;
    }
  }


  .cta-section {
    background: linear-gradient(135deg, #ff6f61, #ffcc80); /* Gradient background */
    color: white;
    text-align: center;
    padding: 60px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    margin: 30px 20px;
  }

  .cta-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
  }

  .cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
  }

  .cta-button {
    background-color: #ffffff;
    color: #ff6f61;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 15px 30px;
    border: none;
    border-radius: 30px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  }

  .cta-button:hover {
    transform: translateY(-3px);
    background-color: #ff7043;
    color: #ffffff;
  }

  @media (max-width: 768px) {
    .cta-title {
      font-size: 2rem;
    }
    .cta-subtitle {
      font-size: 1rem;
    }
    .cta-button {
      font-size: 1rem;
      padding: 12px 20px;
    }
  }


  
.contact-wrapper {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  text-align: center;
}

.contact-header {
  font-size: 2.5em;
  font-weight: bold;
  color: #004d40;
  margin-bottom: 40px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.touch-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  justify-items: center;
  align-items: center;
}

.touch {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  padding: 25px 20px;
  text-align: center;
  width: 100%;
  max-width: 450px;
  height: 230px; /* Reduced height */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.touch:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.touch-icon img {
  width: 60px; /* Adjusted size for icons */
  height: 60px;
  margin-bottom: 15px;
}
#call-icon{
  height: 80px;
  width: 80px;
}
#working-hour{
  height: 80px;
  width: 80px;
  margin: 0;
}

#contact-number{
  display: flex;
}

#contact-number i{
  font-size: 2rem;
  margin-right: 10px;
  color: #1e40af;
}

#contact-number p{
  font-weight: 550;
}



.touch-title {
  font-size: 1.6em;
  font-weight: bold;
  color: #00796b;
  margin-bottom: 10px;
}

.touch-content {
  font-size: 1em;
  color: #333;
  line-height: 1.6;
}

@media screen and (max-width: 768px) {
  .touch-wrapper {
      grid-template-columns: 1fr;
      gap: 15px;
      margin: 2vh;
  }

  .touch {
    height: 270px;
  }
}


  
 /* Chat Button */
 .chat-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 1000;
}

.chat-button:hover {
  background-color: #0056b3;
}

/* Chat Widget */
.chat-widget {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 300px;
  height: 450px;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: none;
  flex-direction: column;
  z-index: 1000;
}

.chat-header {
  background-color: #007bff;
  color: #fff;
  padding: 10px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header h4 {
  margin: 0;
  font-size: 16px;
}

.chat-close {
  cursor: pointer;
  font-size: 18px;
}

.chat-body {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
  font-family: Arial, sans-serif;
}

.chat-body p {
  margin: 5px 0;
}

.chat-input {
  display: flex;
  border-top: 1px solid #ddd;
  padding: 10px;
}

.chat-input input {
  flex: 1;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.chat-input button {
  margin-left: 10px;
  padding: 8px 12px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.chat-input button:hover {
  background-color: #0056b3;
}

  /* footer */

.footer {
  background-color: #222;
  color: #fff;
  overflow-x: hidden;
  padding-left: 0;
  width:100vw;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  padding-left: 40px;
  align-items: center;
  gap:2;
  justify-content: space-between;
  overflow: hidden;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-column {
  flex: 1;
  min-width: 250px;
  margin: 10px;
}

.footer-column h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #00ccff;
}

.footer-column p,
.footer-column a {
  font-size: 14px;
  color: #aaa;
  line-height: 1.8;
  text-decoration: none;
}

.footer-column a:hover {
  color: #fff;
}

.footer-column .contact-details {
  margin-bottom: 20px;
}

.footer-column .contact-details p {
  margin: 5px 0;
}

.footer-column .social-icons {
  display: flex;
  gap: 10px;
}

.footer-column .social-icons a {
  color: #fff;
  font-size: 16px;
  display: inline-block;
  text-decoration: none;

}
.footer-column .social-icons a i{
  transition: transform 0.3s ease, color 0.3s ease;

}

.footer-column .social-icons a:hover i{
  transform: scale(1.2); /* Zoom effect on hover */
    color: #0056b3; /* Darker hover color */
}



/* Media Queries */
@media screen and (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
  }

  .footer-column {
    margin: 20px 0;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 12px;
  }

  .contact-form input[type="submit"] {
    font-size: 14px;
  }
}

@media screen and (max-width: 480px) {
  .footer {
    padding: 20px;
  }

  .footer-column h3 {
    font-size: 16px;
  }

  .footer-column p,
  .footer-column a {
    font-size: 12px;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 8px;
    font-size: 12px;
  }

  .contact-form input[type="submit"] {
    font-size: 14px;
  }
}
.fa-bars {
  transition: all 0.3s ease;
}

.fa-times {
  transition: all 0.3s ease;
}

#line1,
  #line2,
  #line3 {
    transition: all 0.3s ease;
  }

  /* Rotate lines into a cross */
  #line1.rotate-45 {
    transform: rotate(45deg) translateY(7px);
  }

  #line2.opacity-0 {
    opacity: 0;
  }

  #line3.-rotate-45 {
    transform: rotate(-45deg) translateY(-7px);
  }

/* FAQ Suggestions */
.faq-suggestions {
  margin: 10px 0;
}

.faq-suggestions button {
  background-color: #e9ecef;
  color: #333;
  border: none;
  border-radius: 5px;
  padding: 8px 10px;
  margin: 5px 0;
  text-align: left;
  width: 100%;
  cursor: pointer;
  font-size: 14px;
}

.faq-suggestions button:hover {
  background-color: #d6d8db;
}